package cn.singno.springBoot.demo.ch05;

import org.springframework.beans.factory.annotation.Value;
import org.springframework.stereotype.Service;

@Service
public class DemoService
{
	@Value("其它类的属性")
	private String another;

	public String getAnother()
        {
        	return another;
        }

	public void setAnother(String another)
        {
        	this.another = another;
        }
}
